/**
 * 
 */
package tr.edu.ozyegin.ccrg.wekaPerformanceRun;

import java.util.ArrayList;
import java.util.List;

/**
 * Factory Method Base Class
 * @author im10767
 * @since 3.7.2011
 * @version 0.1
 * @see WekaParallelJobRun JobThread WekaJobThread
 *
 */
abstract public class ParallelJobRun {

	protected List <JobThread> jobThreadList = new ArrayList<JobThread>();
	
	protected int processExecutionAmount = -1;
	
	protected int finishedProcess = -1;
	
	public abstract void newJobThread(int _testRunAmount);

	public void setJobThreadList(List <JobThread> jobThreadList) {
		this.jobThreadList = jobThreadList;
	}

	public List <JobThread> getJobThreadList() {
		return jobThreadList;
	}

	public void setProcessExecutionAmount(int processExecutionAmount) {
		this.processExecutionAmount = processExecutionAmount;
	}

	public int getProcessExecutionAmount() {
		return processExecutionAmount;
	}

	public void setFinishedProcess(int finishedProcess) {
		this.finishedProcess = finishedProcess;
	}

	public int getFinishedProcess() {
		return finishedProcess;
	}
}
